﻿// ---------------------------------------------------------------------
// Partial của lớp SSupervisor
//
// Nội dung:
//    + Các hàm gửi message Check Excute trong các Phase
//
// Copyright (c) 2009 YugiOH
//
// Nguyễn Hữu Lê Trọng Tín      YM: ilu2009             ĐT: 0906520611 
// Võ Phước Hậu                 YM: phuochauspkt        ĐT: 0979202707
// ---------------------------------------------------------------------


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServerYuGi
{
    public partial class SSupervisor
    {
        public void SendMessage_CARD_LIST_CANEXCUTE_ToID(int IDPlayer,byte[] listId)
        {            
            Table.SendMessageToID(IDPlayer, Common.YMSG.CARD_LIST_CANEXCUTE, listId);
            SPlayer player = LayPlayerKhacVoiID(IDPlayer);
            Table.SendMessageToID(player.ID, Common.YMSG.CARD_WAITING_ACTIVE_BEGIN);
        }
        public void SendMessage_CARD_WAITING_ACTIVE_END_ToID(int IDplayer)
        {
            Table.SendMessageToID(IDplayer, Common.YMSG.CARD_WAITING_ACTIVE_END);
        }
       
    }
}
